Skip to main content
System prompts are the foundational instructions that define how AI models behave, respond, and interact with users. Think of them as the “operating instructions” given to an AI before it starts conversing with you.

The Anatomy of a Conversation

Every interaction with an AI chatbot involves three types of messages:

System Prompt

The foundational instructions from the AI company that define the model’s behavior, capabilities, and constraints.

User Prompt

Your questions, requests, and inputs to the AI.

Assistant Response

The AI’s replies, generated based on the system prompt and your input.

Example from Claude

Here’s how Claude’s system prompt establishes its identity:
This simple opening sets the AI’s name, creator, current date awareness, and operational context.

What System Prompts Control

System prompts are incredibly comprehensive, often containing thousands of lines of instructions that govern:

1. Identity and Personality

From GPT’s personality system:
Some AI systems like ChatGPT offer multiple personality modes (friendly, professional, quirky, cynical) that users can select.

2. Tool Usage and Capabilities

From Grok’s tool definitions:
System prompts define every tool the AI can use - from web search to code execution to image generation.

3. Safety and Content Policies

From Grok’s safety instructions:
System prompts contain extensive safety guidelines to prevent harmful outputs, though these constraints can sometimes be circumvented through prompt injection techniques.

4. Response Formatting and Style

From Claude Code’s instructions:

5. Context and Capabilities

From Gemini’s guidelines:

Why System Prompts Matter

1

Transparency

Understanding system prompts reveals what AI companies prioritize and how they constrain model behavior.
2

Prompt Engineering

Learning from professional system prompts improves your ability to craft effective user prompts.
3

AI Literacy

Knowing how AI systems are instructed helps you understand their capabilities and limitations.
4

Research and Development

System prompts provide insights for building your own AI applications and chatbots.

Advanced Prompt Engineering Techniques

System prompts reveal sophisticated techniques used by AI companies:

Structured XML/JSON Instructions

Claude’s system prompt uses extensive XML tagging:
This structured approach helps the model parse complex instructions reliably.

Multi-Step Workflows

Claude Code defines precise workflows for complex tasks like creating commits:
Breaking complex tasks into numbered steps is a powerful technique you can use in your own prompts.

Context Management

Grok’s multi-agent system includes collaboration instructions:

Real-World Examples

This shows how AI companies define specific tools with detailed usage guidelines.
This demonstrates how models are instructed to handle attribution and avoid plagiarism.
This shows the decision-making logic AI systems use to determine when to invoke tools.

System Prompt vs User Prompt

Understanding the difference is crucial:
This documentation collection helps make the typically hidden “system prompt” layer visible for educational purposes.

The Evolution of System Prompts

System prompts are constantly evolving. This collection includes:
  • Current versions: The latest instructions used by each AI model
  • Historical versions: Older prompts showing how AI behavior has changed
  • Variations: Different prompts for API vs web interface vs mobile apps
  • Specialized modes: Prompts for specific features like voice mode, code editing, or thinking mode

Next Steps

Now that you understand what system prompts are, learn how to:

How to Use This Collection

Navigate and learn from the prompts in this documentation

Browse by Vendor

Explore prompts organized by AI company